Auto merge of #2055 - alexcrichton:rustdoc-race, r=brson
authorbors <bors@rust-lang.org>
Sat, 17 Oct 2015 00:00:28 +0000 (00:00 +0000)
committerbors <bors@rust-lang.org>
Sat, 17 Oct 2015 00:00:28 +0000 (00:00 +0000)
commit18e496ae2e6cad9fb99a28f419c758ad08ed0121
tree46036eef9c56dba40ffa520bc59769847527710f
parentb5f0cd930dfdccc20ed8e6f8a2da66c423957326
parent2a6143ac0ba275988e10feb336d342ea4dcb8d4f
Auto merge of #2055 - alexcrichton:rustdoc-race, r=brson

Cargo will run rustdoc concurrently if it can, and rustdoc is instructed to
place output in a central location. Rustdoc itself knows how to handle
concurrent invocations, but it requires that the output location exists for this
to work correctly (as otherwise the rustdoc processes will race to create the
directory). While this may also be fixable upstream, for now just precreate the
doc directory to ensure that rustdoc doesn't race trying to create it.
tests/test_cargo_doc.rs